﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="ie=7"/>
<script type="text/javascript" src="cuniao/js/jquery.js"></script>
<script type='text/javascript' src='dwr/engine.js'></script>
<script type="text/javascript" src="lovejes/lovejes.js"></script>
<script type="text/javascript" src="cuniao/js/sys_util.js"></script>
<script type="text/javascript" src="cuniao/js/common.js"></script>
<script type="text/javascript" src="cuniao/js/front/index.js"></script>
<link rel="shortcut icon" href="http://www.cuniao.com/dpupload/logo.ico"/>
<link href="cuniao/themes/default/css/css.css" rel="stylesheet" type="text/css"/>
<title>簇鸟网-做有品质的城市活动</title>
<meta name="description" content="簇鸟网是专注于朋友间有品质的聚会活动平台。通过线上和线下活动结合认识更多朋友。"/>
<meta name="keywords" content="簇鸟网,杭州,同城交友,线下活动,品质活动,品位生活,真实交友,城市生活,SNS"/>
</head>
<script>
function doLogin(){
	DWRUtil.useLoadingMessage("正在登入中...");
	var param = Jes.getFormValue("form1",0);
	if(param == null) return;
	Jes.doAction("doLogin@CnAction",param.email,param.password,1,function(url){
		if(param.repsd=='1'){
			Jes.ie({name:'cuniao.repsd',val:1,exp:7,path:'/cuniao/'}
			,{name:'cuniao.email',val:param.email,exp:7,path:'/cuniao/'}
			,{name:'cuniao.psd',val:param.password,exp:7,path:'/cuniao/'});
		}
		if(!Jes.userSess(1)) return;//session
		Jes.goUrl(url);
	});
}
function doSina(){
	Jes.doAction("doSina@CnAction",function(url){
		Jes.goUrl(url);
	});
}
function doTencent(){
	Jes.doAction("doTencent@CnAction",function(url){
		Jes.goUrl(url);
	});
}
function getInfo(){
		Jes.query('lgact_query_sql@idx',{'isSess':0,isLoad:false},function(data){
			var html=[];
			html.push('<table id="table2" width="100%" border="0" cellspacing="2" cellpadding="0" class="hd_zzfqtb2">');
			for(var i=0;i<data.length;i++){
				var userUrl='',userlogin='';
				if(data[i].usertype=='1')userUrl='../cuniao/cuniao/front/person.html?uid='+data[i].userid;
				if(data[i].usertype=='0'){
					userUrl='../cuniao/cuniao/front/indexbus.html?uid='+data[i].userid;
					userlogin=' style="color:blue"';
				}
                html.push('<tr><td width="40" rowspan="2"><a href="'+userUrl+'"><img src= "'+Jes.getPicPath(data[i].pic)+'"/></a></td>');
                html.push('<td>活动时间:'+ data[i].acttime +'</td><td width="50" align="right">'+data[i].city+' </td></tr><tr>');
                html.push('<td colspan="2"><a href="'+userUrl+'" class="redh" '+userlogin+'>'+data[i].loginid+'：</a>');
                if(data[i].actpro!='2'){
                	html.push('<a href="/cuniao/cuniao/act/actview.html?id='+data[i].id+'">'+data[i].content+'</a>');
                }else{
                	html.push('<span>发起了一条<span style="color:red">私人的聚会</span>,只有被邀请人可见</span>');
                }
                html.push('</td></tr>');
			}
			
			html.push('</table>');
			Jes.html('content',html);
		});
		Jes.query('usercom_query_sql@idx',{'isSess':0,isLoad:false},function(data){
			var html=[];
			html.push('<table id="table1" width="100%" border="0" cellspacing="2" cellpadding="0" class="hd_zzfqtb2">');
			for(var i=0;i<data.length;i++){
				var userUrl='',userlogin='';
				if(data[i].type=='1')userUrl='../cuniao/cuniao/front/person.html?uid='+data[i].id;
				if(data[i].type=='0'){
					userUrl='../cuniao/cuniao/front/indexbus.html?uid='+data[i].id;
					userlogin=' style="color:blue"';
				}
				if(i<5){
					html.push('<tr>');
				}else{
					html.push('<tr style="display:none">');
				}
                html.push('<td width="40" rowspan="2"><a href="'+userUrl+'"><img src= "'+Jes.getPicPath(data[i].pic)+'"/></a></td>');
                html.push('<td colspan="2"><a href="'+userUrl+'" class="redh" '+userlogin+'>'+data[i].loginid+'：</a><span>'+data[i].content+'</span></td></tr>');
				if(i<5){
					html.push('<tr>');
				}else{
					html.push('<tr style="display:none">');
				}
				html.push('<td colspan="2">'+data[i].ctime.substr(11,5)+'<td></tr>');
			}
			html.push('</table>');
			Jes.html('usercom',html);
		});
		Jes.query('lguser_query_sql@idx',{'isSess':0,isLoad:false},function(data){
			var html=[];
			for(var i=0;i<data.length;i++){
                html.push('<li><img src= "'+ Jes.getPicPath(data[i].pic) + '"/></li>');
			}
			Jes.html('newuser',html);
		});
}
window.onload = function(){
	$("email").focus();
	var ck = Jes.ie('cuniao.email','cuniao.psd','cuniao.repsd');
	Jes.setFormValue('form1',{email:ck[0],password:ck[1],repsd:ck[2]});
	if(!Jes.isNull(ck[1]) && ck[2]==1){
		doLogin();
	}else{
		this.getInfo();
	}
	document.documentElement.onkeydown = function(){
		if(event.keyCode == 13){
			doLogin();
		}
	}
}
$(function(){
    t=setInterval("show()",5*1000);//Math.floor(Math.random()*8+1)
    t=setInterval("show1()",20*1000);
    $("#table1").mouseover(function(){
   		Jes.alert(1);
        clearInterval(t);
        //window.clearInterval(this.int)
    }).mouseout(function(){
    	Jes.alert(2);
        t=setInterval("show()",Math.floor(Math.random()*5+1)*1000);
        //window.setInterval('scroll2()',1000)
    })
})
function show(){
      $("#table1 tr:first").hide();
      $("#table1 tr:first").appendTo($("#table1"));
 	  $("#table1 tr:first").hide();
      $("#table1 tr:first").appendTo($("#table1"));
      for(var i=0;i<10;i++){
      	$("#table1 tr").eq(i).show();
      }
}
function show1(){    
      $("#table2 tr:first").hide();
      $("#table2 tr:first").appendTo($("#table2"));
 	  $("#table2 tr:first").hide();
      $("#table2 tr:first").appendTo($("#table2"));
      for(var i=0;i<10;i++){
      	$("#table2 tr").eq(i).show();
      }
}
</script>
<body>
<form id="form1" name="form1" method="post" action="">
	<!---头部---->
	<div id="logintop">
		<div class="top_login">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td class="logo_login">
					<p>
						 簇鸟 CuNiao
					</p>
				</td>
				<td align="left">
					<div class="leftregist">
						 专注于朋友间有品质的聚会活动<input name="submit2" type="button" value="" class="button_zc" 
						 onclick="Jes.goUrl('./cuniao/acl/register.html');"/>
					</div>
				</td>
				<td>
					<table border="0" cellpadding="0" cellspacing="0" class="cn_login1">
					<tr>
						<td width="50" align="right">
							邮 箱：
						</td>
						<td align="left">
							<input name="email" id="email" type="text" class="input_login" title="用户名" required/>
						</td>
					</tr>
					<tr>
						<td width="50" align="right">
							 密 码：
						</td>
						
						<td align="left">
							<input id="password" name="password" class="input_login" title="密码" type="password" required/>
							<a href="../cuniao/cuniao/acl/findpsd.html">忘记密码?</a>
						</td>
					</tr>
					<tr>
						<td colspan="2" align="center" valign="middle" class="jzmm">
							<input class="checkbox"  type="checkbox" checked="true" name="repsd" id="repsd" value="1"/>
							<span>记住密码 </span>
							<input name="button" type="button" value="" class="button_dl" onclick="doLogin();"/>
						</td>
					</tr>
					<tr>
						<td colspan="2" class="hzimg">
							<p>
								 其他帐号登录
							</p>
							<div class="linkimg">
								<a href="javascript:doSina();;" title=""><img src="/cuniao/cuniao/themes/default/images/img_xl.gif"/></a>
								<a href="javascript:doTencent();" title=""><img src="/cuniao/cuniao/themes/default/images/img_qq.gif"/></a>
								<a href="javascript:Jes.alert('开发中...等等就来');" title=""><img width="27" height="27" src="/cuniao/cuniao/themes/default/images/renren_1.png"/></a>
								<a href="javascript:Jes.alert('开发中...等等就来');" title=""><img width="27" height="27" src="/cuniao/cuniao/themes/default/images/kaixin_1.png"/></a>
								
							</div>
						</td>
					</tr>
					</table>
				</td>
			</tr>
			</table>
		</div>
	</div>
	<div id="mainlogin">
		<div id="leftframe">
			<div class="login_leftpic">
			</div>
			<div class="login_describe">
				<p class="title01">
					 簇鸟是什么？
				</p>
				<div class="con">
					<p>
						 簇鸟是朋友发起活动聚会的平台。
					</p>
					<p>
						能够邀请好友参加促成一个成功的活动，通过线下活动认识更多有趣的朋友。
					</p>
					<p>
						 在这里你可以找到感兴趣的活动。认识感兴趣的朋友。
					</p>
				</div>
			</div>
			<div class="login_banner">
				<p>
				</p>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<img src="/cuniao/cuniao/themes/default/images/img_01.gif" width="135" height="95"/>
					</td>
					<td>
						<img src="/cuniao/cuniao/themes/default/images/img_02.gif" width="135" height="95"/>
					</td>
					<td>
						<img src="/cuniao/cuniao/themes/default/images/img_03.gif" width="135" height="95"/>
					</td>
				</tr>
				<tr>
					<td>
						 发起活动
					</td>
					<td>
						 邀请好友参加
					</td>
					<td>
						 线下聚会
					</td>
				</tr>
				</table>
			</div>
		</div>
		<div id="rightframe">
			<div class="hd_zzfq2">
				<h3><span>最新的活动</span>
				</h3>
				<div id="content" name="content">
				</div>
				<h3><span>大家正在说</span>
				</h3>
				<div id="usercom" name="usercom">
				</div>
				<div class="hd_cnfq">
					<h3><span>新注册用户</span><a href="#"></a></h3>
					<ul id="newuser" name="newuser">
					</ul>
				</div>
			</div>
		</div>
		<div id="botframe">
			<div class="footer">
				<div class="botlink">
					<span class="about"><a href="./cuniao/bus/regbus.html">我是商家</a> ·<a href="http://www.cuniao.com/cuniao/about.html">关于簇鸟</a> ·<a href="#">关于我们</a> ·<a href="#">免责申明</a> ·<a href="#">帮助中心</a></span><span class="copyright">© 2011－2021 簇鸟网(www.cuniao.com) 浙ICP备11038099号</span>
				</div>
			</div>
		</div>
	</div>
</form>
</body>
<div class="hidegz1" id="divJes.alert" style="width:200px;height:80px;">
	<div class="hidd_con gz_hidecon">
		<div class="hidd_title">
			 <a href="javascript:void(0);">
			 <span style="color:red;padding-left:180px;" onclick="$('#divJes.alert').hide()">X</span></a>
		</div>
		<form>
			<p id="Jes.alert" style="color:red">
			</p>
		</form>
	</div>
</div>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24914300-1']);
  _gaq.push(['_addOrganic', 'baidu', 'word']);
_gaq.push(['_addOrganic', 'soso', 'w']);
_gaq.push(['_addOrganic', '3721', 'name']);
_gaq.push(['_addOrganic', 'yodao', 'q']);
_gaq.push(['_addOrganic', 'vnet', 'kw']);
_gaq.push(['_addOrganic', 'sogou', 'query']);
_gaq.push(['_addIgnoredOrganic', '簇鸟']);
_gaq.push(['_addIgnoredOrganic', 'cuniao']);
_gaq.push(['_addIgnoredOrganic', '簇鸟网']);
_gaq.push(['_addIgnoredOrganic', 'www.cuniao.com']);
_gaq.push(['_setDomainName', '.cuniao.com']);
  _gaq.push(['_trackPageview']);
  _gaq.push(['_trackPageLoadTime']);
    _gaq.push(['_setVar', '5249']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</html>